package dao;

import java.util.List;

import domain.User;
import domain.VideoUser;



public interface IUserDAO {
	
	List<User> getAllUser();
	User getUserByLogin(String login);
	String getNameById(Integer idUser);
	User getUserById(Integer id);
	String getLoginById(Integer idUser);
	List<VideoUser> getVideosUsersOrderByDateDesc();
	List<User> getAllUserByName(String name);
	List<User> getAllUserByNameYearGenre(String name, Integer year, String genre);
	List<User> getAllUserByNameYear(String name, Integer year);
	List<User> getAllUserByYearGenre(Integer year, String genre);
	List<User> getAllUserByNameGenre(String name, String genre);
	List<User> getAllUserByYear(Integer year);
	List<User> getAllUserByGenre(String genre);
	boolean createAcount(User usuario);
	boolean addFriend(Integer idUser, Integer idUserAdd);
	List<Integer> getInvitations(Integer idUser);
}
